﻿<%@ page language="java" contentType="text/html;charset=utf-8" pageEncoding="utf-8"%>

<%@ include file="/core/taglibs.jsp"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>        
    <%@ include file="/core/memberMeta.jsp"%>
     
      
</head>



<body>
	<script src="<%=basePath%>/resources/memberCss2/assets/js/theme.js"></script>
	<div class="page-heading">
		<h3>产品列表</h3>
		<ul class="breadcrumb">
			<li>产品列表</li>
			<li class="active">购物管理</li>
		</ul>
	</div>

	<section class="wrapper">
		<div class="row">
			<div class="col-sm-12">
				<section class="panel">
					<header class="panel-heading"> 购物管理 </header>
					<div class="panel-body">
					<section id="table1" class="no-more-tables">
							<form name="showTable" method="post" action="<%=basePath%>/member/shop/goodsList.shtml">
								<table class="table table-bordered table-striped table-condensed cf">
									<thead class="cf">
										<tr>
											<th>产品名称</th>
											<th>编号</th>
											<th>价格</th>
											<th>库存量</th>
											<th>查看</th>
										</tr>
									</thead>
									<tbody>
										<c:forEach items="${pagination.pageList}" var="o">
											<tr>
												<td data-title="产品名称">${o.title}</td>
												<td data-title="编号">${o.goodsNo}</td>
												<td data-title="价格">${o.price}</td>
												<td data-title="库存量">${o.totalNum}</td>
												<td data-title="查看"><a class="btn btn-success" href="member/shop/goodsShow.shtml?id=${o.id}">查看购买</a></td>
											</tr>
										</c:forEach>
									</tbody>
								</table>
								<page:pageControl />
							</form>
						</section>
					</div>
				</section>
			</div>
		</div>
	</section>
	<script src="<%=basePath%>/resources/memberCss2/assets/js/amazeui2.min.js"></script>
	<script src="<%=basePath%>/resources/memberCss2/assets/js/amazeui.datatables.min.js"></script>
	<script src="<%=basePath%>/resources/memberCss2/assets/js/dataTables.responsive.min.js"></script>
	<script src="<%=basePath%>/resources/memberCss2/assets/js/app.js"></script>
</body>



</html>


